Excellent @lsoria , so happy you got it working! I'll gladly add the [SOLVED] if you're satisfied :)
By the way - just a bit of LoRa trivia - the code really just sends one join attempt, you see the "Not yet joined..." message several times because OTAA joins by the LoRaWAN standard take at least 5 seconds from sending the join request to receiving a join accept reply (+ a bit extra extra processing time), this is called JOIN_ACCEPT_DELAY1 and JOIN_ACCEPT_DELAY2 in the spec.
But this is really not that important so feel free to ignore it :-)